package edu.kaist.cs408.pof.common.service;

import edu.kaist.cs408.pof.common.model.RestaurantOwnerVo;
import edu.kaist.cs408.pof.common.model.RestaurantVo;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: duyleekun
 * Date: 5/10/12
 * Time: 1:01 AM
 * To change this template use File | Settings | File Templates.
 */
@Path("/")
public interface TestSvc {
	/*
Test url: http://localhost:8080/notification/echo/asdf
*/
	@GET
	@Path("echo")
	@Produces(MediaType.APPLICATION_JSON)
	public RestaurantOwnerVo echo();

	@GET
	@Path("echo1")
	@Produces(MediaType.APPLICATION_JSON)
	public List<RestaurantVo> echo1();
}
